package com.kc.sjwh.entity.vo.dict;

import java.io.Serializable;

/**
 * 字典项
 * @author zhangGuihua(hua7381@163.com) 2017年6月6日
 */
public class DictItem implements Serializable{
	private String id;
	private String pid;
	private String name;
	private String pinyin;//拼音
	private boolean nocheck;//
	private Integer lev;//级别
	private Boolean isLeaf;//是否为叶子节点
	
	@Override
	public String toString() {
		return "DictItem [id=" + id + ", pid=" + pid + ", name=" + name + "]";
	}
	
	public boolean isNocheck() {
		return nocheck;
	}

	public void setNocheck(boolean nocheck) {
		this.nocheck = nocheck;
	}

	public DictItem() {
	}
	public DictItem(String id, String name) {
		this.id = id;
		this.name = name;
	}
	
	public Integer getLev() {
		return lev;
	}
	public Boolean getIsLeaf() {
		return isLeaf;
	}
	public void setIsLeaf(Boolean isLeaf) {
		this.isLeaf = isLeaf;
	}
	public void setLev(Integer lev) {
		this.lev = lev;
	}
	public String getId() {
		return id;
	}
	public String getPinyin() {
		return pinyin;
	}
	public void setPinyin(String pinyin) {
		this.pinyin = pinyin;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getPid() {
		return pid;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
}
